<?php

$title = $IE6['title'];
$keywords = $IE6['keywords'];
$regsettings = $IE6['regsettings'];
$reference = $IE6['reference'];
$date = $IE6['date'];
$author = $IE6['author'];
$updated = $IE6['updated'];
$notes = $IE6['notes'];
$description = $IE6['description'];
$isplugin = $IE6['isplugin'];

$plugin = $isplugin ? " (Plugin)":"";

$header = $title . $plugin;

$is_updated = (!empty($updated)) 
			? date_format($updated, 'm-d-Y') . " at " . date_format($updated, 'h:i A') 
			: date_format($date, 'm-d-Y') . " at " . date_format($date, 'h:i A') . "";
$update_date = "Last Updated: " . $is_updated . " | " . $author;

$ref = unserialize($reference);
$ref_count = count($reference);
?>

<body>
	<div id="container">
		<div id="top">
			<h1><?php echo $header; ?></h1>
		</div>
		<div id="leftnav">
			<p>
				Recent Entries:
				<a href='?id=2'>JRE1.5.0_11</a><br />
				<a href='http://google.com/'>JRE1.3.8_2</a>
			</p>
		</div>
		<div id="rightnav">
			<p>
				References:
				<?php
				foreach($ref as $key => $value)
				{
					echo("<br /><a href='" . $value . "'>" . $key . "</a>");
				}
				?>
			</p>
		</div>
		<div id="content">
			<sup><small><?php echo $update_date; ?></small></sup>
			<p>
				This plugin is a virtual JRE1.5.0_11.<br />
				It is only designed to be used with a virtual browser, as a plugin, not as a stand-alone application.<br />
				There are no entry points for the natively installed browser.
			</p>
			<p>
				<br />
				<br />
				<div id='app-logo'>
					<small>Click the image below for more information pertaining to that specific application.</small><br /><br />
					<a id="displayText" href="javascript:toggle('ie6');"><img src='images/ie6.bmp' width='150' height='63' border='0'></a>
					&nbsp;&nbsp;
					<a id="displayText" href="javascript:toggle('ie7');"><img src='images/ie7.jpg' width='150' height='63' border='0'></a>
					&nbsp;&nbsp;
					<a id="displayText" href="javascript:toggle('ie8');"><img src='images/ie8.png' width='150' height='63' border='0'></a>
				</div>
			</p>
		</div>
		<div id="ie6" style="display: none">
			<div id="code">
				<h2>Internet Explorer 6 Settings:</h2>
				<p>
					[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main] <br />
					"Disable Script Debugger"="yes" <br />
					"Anchor Underline"="yes" <br />
					"Cache_Update_Frequency"="Once_Per_Session" <br />
					"Display Inline Images"="yes" <br />
					"Do404Search"=hex:01,00,00,00 <br />
					"Local Page"="C:\\Windows\\system32\\blank.htm" <br />
					"Save_Session_History_On_Exit"="no" <br />
					"Show_FullURL"="no"
				</p>
			</div>
		</div>
		<div id="ie7" style="display: none">
			<div id="code">
				<h2>Internet Explorer 7 Settings:</h2>
				<p>
					[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main] <br />
					"Disable Script Debugger"="yes" <br />
					"Anchor Underline"="yes" <br />
					"Cache_Update_Frequency"="Once_Per_Session" <br />
					"Display Inline Images"="yes" <br />
					"Do404Search"=hex:01,00,00,00 <br />
					"Local Page"="C:\\Windows\\system32\\blank.htm" <br />
					"Save_Session_History_On_Exit"="no" <br />
					"Show_FullURL"="no"
				</p>
			</div>
		</div>
		<div id="ie8" style="display: none">
			<div id="code">
				<h2>Internet Explorer 8 Settings:</h2>
				<p>
					[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main] <br />
					"Disable Script Debugger"="yes" <br />
					"Anchor Underline"="yes" <br />
					"Cache_Update_Frequency"="Once_Per_Session" <br />
					"Display Inline Images"="yes" <br />
					"Do404Search"=hex:01,00,00,00 <br />
					"Local Page"="C:\\Windows\\system32\\blank.htm" <br />
					"Save_Session_History_On_Exit"="no" <br />
					"Show_FullURL"="no"
				</p>
			</div>
		</div>